package indi.zhifa.study2024.consigntest.logic.busy.consign.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import indi.zhifa.core.enummemo.entity.ann.EnumDesc;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
@EnumDesc
public enum EBillTimeMode {

    BILL_TIME_KEY(1,"bill_time_key","使用时间换算的秒，bill_time_key作为查询键","bill_time_key"),
    BILL_TIME(2,"bill_time","使用datetime bill_time作为查询键","bill_time"),
    BILL_TIME_STR(3,"bill_time_str","使用字符串bill_time_str做查询键","bill_time_str");

    @EnumValue
    @Getter
    private final int code;
    @Getter
    private final String name;
    @Getter
    private final String desc;
    @Getter
    private final String col;
}
